Package ch.datatrans.payment.paymentmethods

Types

BillingAddressParameters
Link copied to clipboard
class BillingAddressParameters
Card
Link copied to clipboard
class Card(type: PaymentMethodType, number: String, expiryDate: CardExpiryDate, cvv: String?, cardholder: String?)
Use this class to process raw card data for payments.
CardExpiryDate
Link copied to clipboard
class CardExpiryDate(month: Int, year: Int) : Serializable
Class to be used to represent the card expiry date (month and year).
CardLabelType
Link copied to clipboard
enum CardLabelType : Enum<CardLabelType>
Use this to choose which label to display for the card option in the payment method selection.
CustomerInfoParameters
Link copied to clipboard
class CustomerInfoParameters
CvvOnlyCard
Link copied to clipboard
data class CvvOnlyCard(maskedCardNumber: String, expiryDate: CardExpiryDate, type: PaymentMethodType)
This class represents a previously tokenized card used in the CVV-only tokenization/verification flow for PCI Proxy.
GooglePayConfig
Link copied to clipboard
class GooglePayConfig
Configuration object for Google Pay transactions
GooglePayCustomerInfo
Link copied to clipboard
data class GooglePayCustomerInfo
GooglePayCustomerInfoAssuranceDetails
Link copied to clipboard
data class GooglePayCustomerInfoAssuranceDetails
GooglePayCustomerInfoBillingAddress
Link copied to clipboard
data class GooglePayCustomerInfoBillingAddress
GooglePayCustomerInfoCallback
Link copied to clipboard
interface GooglePayCustomerInfoCallback
GooglePayCustomerInfoCardInfo
Link copied to clipboard
data class GooglePayCustomerInfoCardInfo
GooglePayCustomerInfoPaymentMethodData
Link copied to clipboard
data class GooglePayCustomerInfoPaymentMethodData
GooglePayCustomerInfoShippingAddress
Link copied to clipboard
data class GooglePayCustomerInfoShippingAddress
KlarnaConfig
Link copied to clipboard
data class KlarnaConfig(customName: String?)
Configuration object for Klarna transactions.
PaymentMethodType
Link copied to clipboard
enum PaymentMethodType : Enum<PaymentMethodType>
The payment method used during the transaction.
SamsungPayConfig
Link copied to clipboard
open class SamsungPayConfig
Class for transaction configurations for Samsung Pay payments.
SavedBoncard
Link copied to clipboard
open class SavedBoncard(alias: String, maskedCardNumber: String?, boncardType: BoncardType) : SavedPaymentMethod
This class contains saved Boncard payment method details.
SavedCard
Link copied to clipboard
open class SavedCard(type: PaymentMethodType, alias: String, cardExpiryDate: CardExpiryDate?, maskedCardNumber: String?, cardholder: String?) : SavedPaymentMethod
This class contains saved credit or debit card payment method details.
SavedPaymentMethod
Link copied to clipboard
open class SavedPaymentMethod(type: PaymentMethodType, alias: String) : Serializable, Cloneable
This is the base class to save a payment method and use it to process recurring payments or fast checkouts.
SavedPayPal
Link copied to clipboard
class SavedPayPal(alias: String, payPalEmail: String?) : SavedPaymentMethod
This class contains saved PayPal payment method details.
SavedPostFinanceCard
Link copied to clipboard
class SavedPostFinanceCard(alias: String, cardExpiryDate: CardExpiryDate?, maskedCardNumber: String?) : SavedCard
This class contains saved PostFinance card payment method details.
SavedReka
Link copied to clipboard
class SavedReka(alias: String, cardExpiryDate: CardExpiryDate, maskedCardNumber: String?) : SavedCard
This class contains saved Reka card payment method details.
SavedSEPA
Link copied to clipboard
class SavedSEPA(alias: String) : SavedPaymentMethod
This class contains saved SEPA (ELV) payment method details.
ShippingAddressParameters
Link copied to clipboard
class ShippingAddressParameters